package com.vol.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (qx_wxd_nr)实体类
 *
 * @author kancy
 * @since 2024-08-17 15:40:29
 * @description 由 Mybatisplus Code Generator 创建
 */
@Accessors(chain = true)
@TableName("qx_wxd_nr")
public class QxWxdNr extends Model<QxWxdNr> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId
	private String id;
    /**
     * 单据日期
     */
    private Date riqi;
    /**
     * 单号
     */
    private String danhao;
    /**
     * 车牌号
     */
    private String chepaihao;
    /**
     * 客户姓名
     */
    private String kehuname;
    /**
     * 联系电话
     */
    private String dianhua;
    /**
     * 结算方式
     */
    private Integer jiesuanfangshi;
    /**
     * 车型
     */
    private String chexing;
    /**
     * 公里数
     */
    private String gonglishu;
    /**
     * 配件总金额
     */
    private BigDecimal peijiansum;
    /**
     * 维修项目总金额
     */
    private BigDecimal weixiusum;
    /**
     * 总金额
     */
    private BigDecimal zsum;
    /**
     * 创建人id
     */
    private Integer createid;
    /**
     * 创建人
     */
    private String creator;
    /**
     * 创建时间
     */
    private Date createdate;
    /**
     * 修改人id
     */
    private Integer modifyid;
    /**
     * 修改人
     */
    private String modifier;
    /**
     * 修改时间
     */
    private Date modifydate;
    /**
     * 车架号
     */
    private String chejiahao;
    /**
     * 是否删除
     */
    private Integer isdeleted;
    /**
     * 备注
     */
    private String beizhu;
    /**
     * 乐观锁字段
     */
    private Integer rowversion;


    //setter


    public void setId(String id) {
        this.id = id;
    }

    public void setRiqi(Date riqi) {
        this.riqi = riqi;
    }

    public void setDanhao(String danhao) {
        this.danhao = danhao;
    }

    public void setChepaihao(String chepaihao) {
        this.chepaihao = chepaihao;
    }

    public void setKehuname(String kehuname) {
        this.kehuname = kehuname;
    }

    public void setDianhua(String dianhua) {
        this.dianhua = dianhua;
    }

    public void setJiesuanfangshi(Integer jiesuanfangshi) {
        this.jiesuanfangshi = jiesuanfangshi;
    }

    public void setChexing(String chexing) {
        this.chexing = chexing;
    }

    public void setGonglishu(String gonglishu) {
        this.gonglishu = gonglishu;
    }

    public void setPeijiansum(BigDecimal peijiansum) {
        this.peijiansum = peijiansum;
    }

    public void setWeixiusum(BigDecimal weixiusum) {
        this.weixiusum = weixiusum;
    }

    public void setZsum(BigDecimal zsum) {
        this.zsum = zsum;
    }

    public void setCreateid(Integer createid) {
        this.createid = createid;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public void setModifyid(Integer modifyid) {
        this.modifyid = modifyid;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    public void setChejiahao(String chejiahao) {
        this.chejiahao = chejiahao;
    }

    public void setIsdeleted(Integer isdeleted) {
        this.isdeleted = isdeleted;
    }

    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu;
    }

    public void setRowversion(Integer rowversion) {
        this.rowversion = rowversion;
    }

    //getter

    @JsonProperty("id")
    public String getId() {
        return id;
    }
    @JsonProperty("riqi")
    public Date getRiqi() {
        return riqi;
    }
    @JsonProperty("danhao")
    public String getDanhao() {
        return danhao;
    }
    @JsonProperty("chepaihao")
    public String getChepaihao() {
        return chepaihao;
    }
    @JsonProperty("kehuname")
    public String getKehuname() {
        return kehuname;
    }
    @JsonProperty("dianhua")
    public String getDianhua() {
        return dianhua;
    }
    @JsonProperty("jiesuanfangshi")
    public Integer getJiesuanfangshi() {
        return jiesuanfangshi;
    }
    @JsonProperty("chexing")
    public String getChexing() {
        return chexing;
    }
    @JsonProperty("gonglishu")
    public String getGonglishu() {
        return gonglishu;
    }
    @JsonProperty("peijiansum")
    public BigDecimal getPeijiansum() {
        return peijiansum;
    }
    @JsonProperty("weixiusum")
    public BigDecimal getWeixiusum() {
        return weixiusum;
    }
    @JsonProperty("zsum")
    public BigDecimal getZsum() {
        return zsum;
    }
    @JsonProperty("createid")
    public Integer getCreateid() {
        return createid;
    }
    @JsonProperty("creator")
    public String getCreator() {
        return creator;
    }
    @JsonProperty("createdate")
    public Date getCreatedate() {
        return createdate;
    }
    @JsonProperty("modifyid")
    public Integer getModifyid() {
        return modifyid;
    }
    @JsonProperty("modifier")
    public String getModifier() {
        return modifier;
    }
    @JsonProperty("modifydate")
    public Date getModifydate() {
        return modifydate;
    }
    @JsonProperty("chejiahao")
    public String getChejiahao() {
        return chejiahao;
    }
    @JsonProperty("isdeleted")
    public Integer getIsdeleted() {
        return isdeleted;
    }
    @JsonProperty("beizhu")
    public String getBeizhu() {
        return beizhu;
    }
    @JsonProperty("rowversion")
    public Integer getRowversion() {
        return rowversion;
    }
}